import {Button, Result} from "antd";
import {Link} from "@umijs/max";

const NotFound: React.FC = () => (
    <Result
        status="404"
        title="404"
        subTitle="抱歉，你访问的页面不存在"
        extra={<Link to="/"><Button type="primary">返回首页</Button></Link>}
    />
);

export default NotFound;